package com.lh.common.entity.admin;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.lh.common.enums.IsDel;
import com.lh.common.enums.UpperLowerShelfStatus;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.ibatis.type.Alias;
import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * ovmal_notice:公告
 * @author Administrator 2019-08-09
 */
@TableName("ovmal_notice")
@Data
public class Notice implements Serializable {
    /**  */
    @ApiModelProperty(value = "")
    @TableField(value = "nid")
    @TableId
    private Long nid;

    /** 标题 */
    @ApiModelProperty(value = "标题",allowEmptyValue=true,required = true)
    private String title;

    /** 图片地址 */
    @ApiModelProperty(value = "图片地址",allowEmptyValue=true,required = true)
    private String img;

    /** 状态  1:上架  0: 下架 */
    @ApiModelProperty(value = "状态  UpperShelf:上架  LowerShelf: 下架 ")
    private UpperLowerShelfStatus status;

    /**  */
    @ApiModelProperty(value = "")
    private Date createTime;

    /**  */
    @ApiModelProperty(value = "")
    private Date updateTime;

    /**  */
    @ApiModelProperty(value = "")
    private IsDel isDel;

    /** 内容 */
    @ApiModelProperty(value = "")
    private String content;

    /**
     * ovmal_notice
     */
    private static final long serialVersionUID = 1L;
}
